package com.spdb.oa.parser;

import javax.xml.parsers.ParserConfigurationException;

import com.spdb.oa.exception.OAXMLParseException;

public class GetSubmitParserStrategy extends AbstractParserStrategy {

	public GetSubmitParserStrategy() throws ParserConfigurationException {
		super();
		
	}

	@Override
	public Object parse(String str) throws OAXMLParseException {
		try {
			Object returnObj = this.parser.parseGetSubmit(str);
			return returnObj;
		} catch (Exception e) {
			throw new OAXMLParseException(e);
		} 
	}

}
